package com.example.kotlindemo.utils
import android.util.Log

class Logger(private var tag: String = "Logger") {
    fun setTag(newTag: String) {
        tag = newTag
    }
    fun print(message: Any?) {
        Log.d(tag, message.toString())
    }
    companion object {
        fun print(tag: String, message: Any?) {
            Log.d(tag, message.toString())
        }
    }
}